Skip to content

Conversation

@seanwu1105
Copy link
Contributor

See #554.

According to the discussion on mid-sprint kickoff, implement in-memory cache for PostCaptures to provide better UX.

  • Cache PostCapture list response in memory.
  • Cache PostCapture asset_file in memory.
    • Possible thrashing with high asset_file quantity.

This is NOT an ideal cache implementation as we should build a safer and more structural LRU cache by leveraging declarative caching tool kits, such as ngsw. However, we do not have enought time for now.

Tested on Brave browser and Exodus 1.

@seanwu1105 seanwu1105 added this to the beta 13.5 milestone Mar 29, 2021
@seanwu1105 seanwu1105 requested a review from shc261392 March 29, 2021 08:46
@seanwu1105 seanwu1105 self-assigned this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants